ti.x={};

ti.x.className=function(){
	if(ti.x.isIe())
		return 'className';
	return 'class';
}

ti.x.isIe=function(){
	return (typeof(ActiveXObject) != 'undefined');
}

ti.x.getHttpRequestor=function(){
	if (window.XMLHttpRequest)
		return new XMLHttpRequest();
	else if (window.ActiveXObject)
		return new ActiveXObject("Microsoft.XMLHTTP");
}